/*
 * @Author: wuzhen
 * @Date: 2019-01-22 09:11:26
 * @LastEditors: wuzhen
 * @LastEditTime: 2019-08-16 09:48:40
 * @Description: getters
 */
const getters = {
  token: state => state.user.token,
  roles: state => state.user.roles,
  parentRouter: state => state.nav.parentRouter
};
export default getters;
